/*
 * @Description: 文件描述
 * @Version: 1.0
 * @Author: YueXuanzi
 * @Date: 2024-09-13 17:26:38
 * @LastEditors: YueXuanzi
 * @LastEditTime: 2024-10-07 19:23:47
 * @心得体会: 无
 */

import request from '@/axios'

export function getList(data) {
    return request({
      url: '/sys/project/list',
      method: 'get',
      params: data
    })
}


export function add(data) {
  return request({
    url: '/sys/project/add',
    method: 'post',
    data
  })
}

export function getDepartmentList(){
  return request({
    url: '/sys/department/listDown',
    method: 'get',
  })
}

export function del(data){
  return request({
    url: '/sys/project/del',
    method: 'delete',
    data
  })
}
export function edit(data){
  return request({
    url: '/sys/project/edit',
    method: 'put',
    data
  })
}
